package wlt.xxljob.exception;

/**
 * 调用外部url的异常处理类
 */
public class HttpException extends RuntimeException{
    private String url;
    private int code;
    public HttpException(String url, int code) {
        this.url = url;
        this.code = code;
    }

    @Override
    public String toString() {
        return "HttpException{" +
                "url='" + url + '\'' +
                ", code=" + code +
                '}';
    }
}
